package com.zrrd.fuxi._01_oop.p2;

import com.sun.org.apache.bcel.internal.generic.NEW;
import com.zrrd.fuxi._01_oop.p1.Father;
import org.junit.Test;

/**
 * @author WanJl
 * @version 1.0
 * @title Son
 * @description
 * @create 2023/11/19 10:51
 */
public class Son extends Father {

    public Son() {
        System.out.println("子类构造方法....");
    }

    public void abc(){
        System.out.println(this.name);
    }

    @Override
    protected void method() throws NullPointerException {
        super.method();
    }


    {
        System.out.println("我是子类代码块.....");
    }




}
